#include <iostream>
#include "MaxHeap.h"

using namespace std;

int main() {
	MaxHeap<int> test1(9);
	test1.push(10);
	test1.push(9);
	test1.push(8);
	test1.push(20);
	test1.push(30);
	test1.show();
	test1.pop();
	test1.show();
	test1.pop();
	test1.show();
	test1.pop();
	test1.show(); 
	test1.pop();
	cout << test1.top() << endl;
	system("pause");
	return 0;
}